import ReactDOM from "react-dom/client";
import App from "@/app.tsx";
import "@/global.less";

ReactDOM.createRoot(document.getElementById("root")!).render(<App />);

if (import.meta.env.MODE === "production") {
  console.log("Version: ", import.meta.env.VITE_APP_VERSION);
  console.log(`Build time: ${__BUILD_INFO__.time}`);
  console.log(`Current branch: ${__BUILD_INFO__.branch}`);
}
